package com.allwayz.lb;

import org.springframework.cloud.client.ServiceInstance;

import java.util.List;

/**
 * @author allwayz
 */
public interface LoadBalancer {
    /**
     * 容器加载的时候，把所有实例装到<code>List</code>里面
     * @param serviceInstanceList
     * @return
     */
    ServiceInstance serviceInstance(List<ServiceInstance> serviceInstanceList);
}
